﻿<%@ Page Title="【七乐彩投注】" Language="C#" MasterPageFile="~/APP_Master/MasterPageIndex.master"
    AutoEventWireup="true" CodeFile="SevenColorfulTuoDan.aspx.cs" Inherits="SevenColorfulTuoDan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="css/webstyle.css" rel="stylesheet" type="text/css" />

    <style>
        .top_bg {
            background: #c41921;
        }

            .top_bg a {
                color: #fff;
            }

        .top_list {
            background: #c41921;
            color: #fff;
            text-align: center;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            float: left;
            padding: 0 30px;
        }

        .top_list1 {
            color: #fff;
            text-align: center;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            background: url(images/kjdb_icon2.jpg) no-repeat center bottom #fd2e37;
            float: left;
            padding: 0 30px;
        }

        .wh {
            border: solid 1px #e5e5e5;
            background: url(../images/bg11.jpg) repeat-y right top;
        }

        .wh1 {
            border: solid 1px #c7b0b7;
            height: 26px;
            line-height: 26px;
        }

        .wh2 {
            display: block;
            float: left;
            text-align: center;
            padding: 0 12px;
            color: #3a3a3a;
            font-size: 14px;
        }

        .wh3 {
            display: block;
            float: left;
            text-align: center;
            padding: 0 12px;
            color: #fff;
            font-size: 14px;
            background: #c41921;
        }

        .fxui-tab {
        }

        .fxui-tab-hand {
            border-top: solid 1px #e1e1e1;
        }

        .fxui-tab-tit {
            width: 109px;
            display: block;
            float: left;
            height: 34px;
            line-height: 34px;
            cursor: pointer;
            background: #f2f2f2;
            text-align: center;
            border-left: solid 1px #e1e1e1;
            border-bottom: solid 1px #e1e1e1;
        }

        .fxui-tab-hand .curr {
            background: #fff;
            color: #c41921;
        }

        .fxui-tab-nav {
        }
    </style>

    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="App_Themes/js/jquery.fxTab.js"></script>


    <script type="text/javascript">

    var ArrayList = new Array();
    var myRedArray = new Array();
    var myRedTDArray = new Array();
    
    window.num;
    var QS7 = "";
    var QS6 = "";
    var QS5 = "";
    var QS4 = "";
    var QS3 = "";
    var QS2 = "";
    var QS1 = "";
    //保存扩展查询6个等级是否点过
    var ArrayNG = new Array();
    var aaa = 0;
    var allNO = "";
    var show7 = 1;
    var show6 = 1;
    var show5 = 1;
    var show4 = 1;
    var show3 = 1;
    var show2 = 1;
    var show1 = 1;

    //每页数量
    var pagecount = 10;
    //alert(getCookie("ArrayListSeven"))
    if (getCookie("ArrayListSeven") != '') {
        
        var arrarraylist = eval(getCookie("ArrayListSeven"))
        
        for (j = 0; j < arrarraylist.length ; j++) {
            ArrayList.push(arrarraylist[j]);
        }
    }

    var count = 0;

    $(document).ready(function () {
        var cookiestrSeven = getCookie("cookiestrSeven");
       
        var arrCookie = cookiestrSeven.split(",");
        var cookie_html = "";
        //alert(arrCookie);
        for (var i = 0; i < arrCookie.length; i++) {

            var arrBallorCount = arrCookie[i].split("||");
            //var arrRedorBlue = arrBallorCount[0].split("+");
            
            //把*替换成，号
            var replace = arrBallorCount[0].replace(/\*/g, ",");
            if ($.inArray("$", replace) > -1) {
                cookie_html += "<li> <span class='fl' style='width:570px;'><b>投注</b>"
                    + " <b class='db_text1' style='font-weight:normal'>" + replace + " </b> "
                    + "[" + arrBallorCount[1] + "注," + arrBallorCount[2] + "元]</span>"
                    + "<a href='JavaScript:void(0);' onclick='javascript:Delete(this);'>删除</a>"
                    + "<a href='JavaScript:void(0);' onclick='javascript:Update(this);'>修改</a>"
                    + "<a href='JavaScript:void(0);' onclick='javascript:ToContrast(this,1);'>对比</a><div style='clear:both'></div></li>";
                
            }
            else {

                cookie_html += "<li> <span class='fl' style='width:570px;'><b>投注</b>"
                    + " <b class='db_text1' style='font-weight:normal'>" + replace + " </b> "
                    + "[" + arrBallorCount[1] + "注," + arrBallorCount[2] + "元]</span>"
                    + "<a href='JavaScript:void(0);' onclick='javascript:Delete(this);'>删除</a>"
                    + "<a href='SevenColorful.aspx' onclick='javascript:tiaoye(this);'>修改</a>"
                    + "<a href='JavaScript:void(0);' onclick='javascript:ToContrast(this,1);'>对比</a><div style='clear:both'></div></li>";
           
            }

        }

        if (cookiestrSeven !== "") {
            $(".db_k").html(cookie_html);
        }

        if (sessionStorage["par2"] != undefined && sessionStorage["par2"] != "") {
         
            Update(sessionStorage["par2"]);
        }
        

    });
    function tiaoye(obj) {
        //alert(obj)
        if (obj == 0) {
            window.location.href = 'SevenColorful.aspx';
        } else if (obj == 1) {
            window.location.href = '#';
        } else {
            sessionStorage["par1"] = $(obj).parent().children().children(".db_text1").text();
        }
        //alert(sessionStorage["par1"])
    }

    function addRedBall(obj, value, type, TDorNO) {
        if (parseInt(value) <= 9) {
            value = "0" + parseInt(value);
        }
        var value = $.trim(value);
        //alert(value);
        if (type == 0) {
            
            var index = $.inArray(value, myRedArray);//inArray 在数组中搜索指定的值，并返回其索引值。如果数组中不存在该值，则返回 -1。
            var index1 = $.inArray(value, myRedTDArray);

            if (TDorNO == 0) {
                
                if (index > -1) {
                    myRedArray.splice(index, 1);//大于-1证明有该值，，则从数组中删除该值（删除的值，0不删除，1代表删除1个，2代表删除2个）
                    $("#RedBall" + parseInt(value)).toggleClass("ball_btn_active");
                } else if (index == -1) {
                    if (index1 > -1) {
                        // alert("value:" + value);
                        myRedTDArray.splice(index1, 1);

                        $("#RedBall" + parseInt(value)).toggleClass("ball_btn_active");
                        $("#DanTuo" + parseInt(value)).attr("checked", false);
                    } else {
                        myRedArray.push(value);
                        $("#RedBall" + parseInt(value)).toggleClass("ball_btn_active");
                    }


                }
                $("#ZXRedBll").val(myRedArray);

            } else if (TDorNO == 1) {
                if ($("#DanTuo" + parseInt(value)).attr("checked") == "checked") {

                    if (myRedTDArray.length > 5) {
                        $(obj).attr("checked", false);
                        alert('最多只能设置6个胆码！');
                        return;
                    }
                    if (index > -1) {

                        myRedArray.splice(index, 1);
                        myRedTDArray.push(value);
                    }
                    else if (index == -1) {
                        myRedTDArray.push(value);
                        $("#RedBall" + parseInt(value)).toggleClass("ball_btn_active");
                    }
                }
                else {

                    myRedTDArray.splice(index1, 1);
                    myRedArray.push(value);

                }
            }

        }

        $("#AllLength").html(myRedArray.length + myRedTDArray.length);
        $("#TMLength").html(myRedArray.length);
        $("#DMLength").html(myRedTDArray.length);
        count = parseInt(fibonacci(myRedArray.length) / fibonacci(7 - myRedTDArray.length) / fibonacci(myRedArray.length - 7 + myRedTDArray.length));
        
        $("#BettingCount").html(count);
        $("#PriceCount").html(count * 2);
    }
    function fibonacci(n) {
        var rtn = 1;
        if (n > 1) {
            var i = 1;
            while (i <= n) {
                rtn = rtn * i;
                i++;
            }
        }
        return rtn;
    }

    function Update(obj) {
       
        var number = $(obj).parent().children().children(".db_text1").text();
        
        number = number.replace(/\s/g, "");
        window.num = number;
        //alert(window.num);
        if (window.num == "")
        {
            var aa = obj.replace(/\s/g, "");
            
            window.num = aa;
        }
        $(".kjdb_btn").val("确认修改");
        
        $(".ball_btn_active").removeClass("ball_btn_active");

        $(":checked").attr("checked", false);

        myRedArray = new Array();
        myRedTDArray = new Array();

        if (getCookie('ArrayListSeven') != '') {
            ArrayList = eval(getCookie('ArrayListSeven'));
        }
        
        var num = window.num;
        num = num.replace(/\s/g, "");

        var allRedBall = num.split("$");
        var RedTD = allRedBall[0].split(",");
        var Red = allRedBall[1].split(",");
        //alert(Allball);
        for (var i = 0; i < RedTD.length; i++) {
            
            $("#RedBall" + parseInt(RedTD[i])).toggleClass("ball_btn_active");
            $("#DanTuo" + parseInt(RedTD[i])).attr("checked", true);
            myRedTDArray.push(RedTD[i]);
        }
        for (var j = 0; j < Red.length; j++) {
            $("#RedBall" + parseInt(Red[j])).toggleClass("ball_btn_active");
            myRedArray.push(Red[j]);
        }
        

        $("#AllLength").html(myRedArray.length + myRedTDArray.length);
        $("#TMLength").html(myRedArray.length);
        $("#DMLength").html(myRedTDArray.length);
        count = parseInt(fibonacci(myRedArray.length) / fibonacci(7 - myRedTDArray.length) / fibonacci(myRedArray.length - 7 + myRedTDArray.length));

        $("#BettingCount").html(count);
        $("#PriceCount").html(count * 2);
        sessionStorage["par2"] = "";
    }

    function Delete(obj) {
        if (getCookie('ArrayListSeven') != '') {
           
            ArrayList = eval(getCookie('ArrayListSeven'));
          
        }
        
        $(obj).parent().remove();
        num = $(obj).parent().children().children(".db_text1").text();
        //alert("num:"+num);
        num = num.replace(/\s/g, "");
        num = num.replace(/,/g, "*");
        var index = $.inArray(num, ArrayList);

        var arrCookie = getCookie("cookiestrSeven").split(",");
        var strnnum = arrCookie[index].split("||");
       
        if (index != -1) {
            ArrayList.splice(index, 1);
            arrCookie.splice(index, 1);
        }
        //alert("cookiestrSeven:" + arrCookie);
        
        setCookie("cookiestrSeven", arrCookie, 365);
        var json = JSON.stringify(ArrayList);
        setCookie("ArrayListSeven", json, 365);

        myRedArray = new Array();
        myBlueArray = new Array();

        $("#RedLength").html("0");
        $("#BlueLength").html("0");
        $("#BettingCount").html("0");
        $("#PriceCount").html("0");
        $(".ball_btn_active").removeClass("ball_btn_active");
        $(".kjdb_btn").val("确认选号");
    }

    //清空选中的篮球或红球
    function ClaerRedorBlue(type) {
        if (type == 0) {
            var ClearRed = myRedArray.toString().split(",");
            for (var i = 0; i < ClearRed.length; i++) {
                
                $("#RedBall" + parseInt(ClearRed[i])).toggleClass("ball_btn_active");
            }
           
            myRedArray = new Array();
            
            $("#RedLength").html("0");
            

        } else if (type == 1) {

            var ClearBlue = myBlueArray.toString().split(",");
            for (var i = 0; i < ClearBlue.length; i++) {
                $("#BlueBall" + parseInt(ClearBlue[i])).toggleClass("ball_btn_active");
            }

            myBlueArray = new Array();
            $("#BlueLength").html("0");

        }

        $("#BettingCount").html("0");
        $("#PriceCount").html("0");

    }
   
    function ClearCookie() {
        setCookie("cookiestrSeven", "", -1);
        setCookie("ArrayListSeven", "", -1);
        ArrayList = new Array();
        $(".db_k").html("");
    }

    //选号
    function ConfirmPick() {
        if (myRedArray.length + myRedTDArray.length < 7) {
            alert("胆码+托码至少选取7个");
        } else if (myRedTDArray.length < 1) {
            alert("至少选取1个胆码");
        } else if ($(".kjdb_btn").val() == '确认修改') {

            
            if (getCookie('ArrayListSeven') != '') {
                ArrayList = eval(getCookie('ArrayListSeven'));
            }
            var num = window.num;
            num = num.replace(/\s/g, "");
            num = num.replace(/,/g, "*");
            var index = $.inArray(num, ArrayList);
            //alert(index);alert(ArrayList)
            $(".db_k li:eq(" + index + ")").remove();
            var arrCookie = getCookie("cookiestrSeven").split(",");
            var strnnum = arrCookie[index].split("||");

            if (index > -1) {
                ArrayList.splice(index, 1);
                arrCookie.splice(index, 1);
            }
            //alert("cookiestrSeven:" + arrCookie);

            setCookie("cookiestrSeven", arrCookie, 365);
            //alert(getCookie("cookiestrSeven"))
            var json = JSON.stringify(ArrayList);
            setCookie("ArrayListSeven", json, 365);

            $(".db_k").append('<li> <span class="fl" style="width:570px;"><b>投注</b>'
                + " <b class='db_text1' style='font-weight:normal'>" + myRedTDArray + "$"+ myRedArray + " </b> "
                + '[' + count + '注,' + count * 2 + '元]</span>'
                + '<a href="JavaScript:void(0);" onclick="javascript:Delete(this);">删除</a>'
                + '<a href="JavaScript:void(0);" onclick="javascript:Update(this);">修改</a>'
                + '<a href="JavaScript:void(0);" onclick="javascript:ToContrast(this,1);">对比</a><div style="clear:both"></div></li>');

            $(".ball_btn_active").removeClass("ball_btn_active");

            var redStr = "";
            var fgf = "*";
            for (var j = 0; j < myRedTDArray.length; j++) {
                if (j == myRedTDArray.length - 1) {
                    fgf = "$";
                    redStr += myRedTDArray[j] + fgf;
                } else {
                    redStr += myRedTDArray[j] + fgf;
                }
            }
            for (var i = 0; i < myRedArray.length; i++) {
                redStr += myRedArray[i] + "*";
            }
            redStr = redStr.substring(0, redStr.length - 1);

            ArrayList.push(redStr);

            myRedArray = new Array();
            myRedTDArray = new Array();
            $(":checked").attr("checked", false);
            $("#AllLength").html("0");
            $("#TMLength").html("0");
            $("#DMLength").html("0");
            $("#BettingCount").html("0");
            $("#PriceCount").html("0");

            //保存到cookie

            var cookiestr = '';
            //分隔符
            var fgf = '';
            if (getCookie("cookiestrSeven") != "") {
                cookiestr = getCookie("cookiestrSeven");
                fgf = ",";
            }
            cookiestr += fgf + redStr + "||" + count + "||" + count * 2;
            setCookie("cookiestrSeven", cookiestr, 365);
            var json = JSON.stringify(ArrayList);
            setCookie("ArrayListSeven", json, 365);

            $(".kjdb_btn").val("确认选号");

        } else {

            $(".db_k").append('<li> <span class="fl" style="width:570px;"><b>投注</b>'
                 + " <b class='db_text1' style='font-weight:normal'>" + myRedTDArray + "$" + myRedArray + "</b>"
                + '[' + count + '注,' + count * 2 + '元]</span>'
                + '<a href="JavaScript:void(0);" onclick="javascript:Delete(this);">删除</a>'
                + '<a href="JavaScript:void(0);" onclick="javascript:Update(this);">修改</a>'
                + '<a href="JavaScript:void(0);" onclick="javascript:ToContrast(this,1);">对比</a><div style="clear:both"></div></li>');

            $(".ball_btn_active").removeClass("ball_btn_active");

            var redStr = "";
            var fgf = "*";
            //alert(myRedTDArray.length)
            for (var j = 0; j < myRedTDArray.length; j++) {
               
                if (j == myRedTDArray.length - 1) {
                    fgf = "$";
                    redStr += myRedTDArray[j] + fgf;
                }
                else {
                    redStr += myRedTDArray[j] + fgf;
                }
            }
            fgf = "*";
            

            for (var i = 0; i < myRedArray.length; i++) {
                redStr += myRedArray[i] + "*";
            }
            redStr = redStr.substring(0, redStr.length - 1);
            //alert(redStr);

            $(":checked").attr("checked", false);

            ArrayList.push(redStr);

            myRedArray = new Array();
            myRedTDArray = new Array();

            $("#AllLength").html("0");
            $("#TMLength").html("0");
            $("#DMLength").html("0");

            $("#BettingCount").html("0");
            $("#PriceCount").html("0");

            //保存到cookie

            var cookiestr = '';
            //分隔符
            var fgf = '';
            if (getCookie("cookiestrSeven") != "") {
                cookiestr = getCookie("cookiestrSeven");
                fgf = ",";
            }
            cookiestr += fgf + redStr + "||" + count + "||" + count * 2;
            
            setCookie("cookiestrSeven", cookiestr, 365);
            var json = JSON.stringify(ArrayList);
            setCookie("ArrayListSeven", json, 365);
            //alert(getCookie("cookiestrSeven"));
        }
    }

    /*
        num 要产生多少个随机数
        from 产生随机数的最小值
        to 产生随机数的最大值
        alert(createRandom2(10, 0, 50));//生成10个从0-50之间不重复的随机数
    */
    function RandomNumber(num, from, to) {
        var arr = [];
        var json = {};
        while (arr.length < num) {
            //产生单个随机数
            var ranNum = Math.ceil(Math.random() * (to - from)) + from;
            //通过判断json对象的索引值是否存在 来标记 是否重复
            if (!json[ranNum]) {
                json[ranNum] = 1;
                arr.push(ranNum);
            }

        }
        return arr;
    }
    //RandomRed(this, 7, 0)
    function RandomRed(obj, RedNum, type) {
        
        var BallRandom = "";
       
        if (type == 0) {

            var ClearRed = myRedArray.toString().split(",");
            for (var i = 0; i < ClearRed.length; i++) {

                $("#RedBall" + parseInt(ClearRed[i])).toggleClass("ball_btn_active");
            }
            myRedArray = new Array();
            BallRandom = RandomNumber(jQuery("#selectRed").val(), 1, 30);

        } else if (type == 1) {

            var ClearBlue = myBlueArray.toString().split(",");
            for (var i = 0; i < ClearBlue.length; i++) {
                $("#BlueBall" + parseInt(ClearBlue[i])).toggleClass("ball_btn_active");
            }

            myBlueArray = new Array();
            BallRandom = RandomNumber(jQuery("#selectBlue").val(), 0, 16);
        }
        //alert(BallRandom);

       var arrBall = BallRandom.toString().split(",");
       var str = "";
      
       for (var i = 0; i < BallRandom.length; i++) {
           
           var Ball = BallRandom[i];
           
           if (parseInt(Ball) <= 9) {
               Ball = "0" + Ball;
               
           }
           str += Ball + ",";
           addRedBall(this, Ball, type ,0);
       }
    }

    //创建cookies
    function setCookie(cname, cvalue, exdays) {
        var myDate = new Date();
        myDate.setTime(myDate.getTime() + (exdays * 24 * 60 * 60 * 1000));
        var expires = "expires=" + myDate.toUTCString();
        document.cookie = cname + "=" + cvalue + "; " + expires
       
    }

    function getCookie(cname) {
        var name = cname + "=";
        var ca = document.cookie.split(';');
        for (var i = 0; i < ca.length; i++) {
            var c = ca[i];
            while (c.charAt(0) == ' ') c = c.substring(1);
            if (c.indexOf(name) != -1) return c.substring(name.length,c.length);
        }
        return "";
    }

    function ChangeQS(count) {
        //alert($('input:radio:checked').val());
        var pageCount = document.getElementById("hidQS");
        if (count == 30) {
            $(".db_text3").html("30期对比结果");
        } else if (count == 50) {
            $(".db_text3").html("50期对比结果");
            
        } else if (count == 100) {
            $(".db_text3").html("100期对比结果");
           
        } else if (count == 300) {
            $(".db_text3").html("300期对比结果");
          
        } else if (count == 1) {
            //alert(count);

            $.ajax({
                url: "/Ajax/GetAllCountQS.ashx",
                type: "POST",
                data: { type: 7 },
                success: function (response) {
                    $(".db_text3").html(response + "期对比结果");
                }
            });

        }

    }

    function Cancel(num) {
        //alert(6);
        if (num == 7) {
            $("#sevenDJ").show();
            $("#sevenKZselect").hide();
            $("#cancel7").hide();
        }else if (num == 6) {
            $("#sixDJ").show();
            $("#sixKZselect").hide();
            $("#cancel6").hide();
        } else if (num == 5) {
            $("#fiveDJ").show();
            $("#fiveKZselect").hide();
            $("#cancel5").hide();
        } else if (num == 4) {
            $("#fourDJ").show();
            $("#fourKZselect").hide();
            $("#cancel4").hide();
        } else if (num == 3) {
            $("#threeDJ").show();
            $("#threeKZselect").hide();
            $("#cancel3").hide();
        } else if (num == 2) {
            $("#twoDJ").show();
            $("#twoKZselect").hide();
            $("#cancel2").hide();
        } else if (num == 1) {
            $("#oneDJ").show();
            $("#oneKZselect").hide();
            $("#cancel1").hide();
        }
    }

    //扩展查询
    function ExtensionQuery(obj,num) {
        
        //alert(obj + "132");
        var KZQS = "";
        if (num == 7) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#sevenDJ").hide();
                $("#sevenKZselect").show();
                $("#cancel7").show();
                return;
            }
            KZQS = QS7;
            ArrayNG.push(num);
            $("#sevenKZselect").html("");
        }else if (num == 6) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#sixDJ").hide();
                $("#sixKZselect").show();
                $("#cancel6").show();
                return;
            }
            KZQS = QS6;
            ArrayNG.push(num);
            $("#sixKZselect").html("");
        } else if (num == 5) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#fiveDJ").hide();
                $("#fiveKZselect").show();
                $("#cancel5").show();
                return;
            }
            KZQS = QS5;
            ArrayNG.push(num);
            $("#fiveKZselect").html("");
        } else if (num == 4) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#fourDJ").hide();
                $("#fourKZselect").show();
                $("#cancel4").show();
                return;
            }
            KZQS = QS4;
            ArrayNG.push(num);
            $("#fourKZselect").html("");
        } else if (num == 3) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#threeDJ").hide();
                $("#threeKZselect").show();
                $("#cancel3").show();
                return;
            }
            KZQS = QS3;
            ArrayNG.push(num);
            $("#threeKZselect").html("");
        } else if (num == 2) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#twoDJ").hide();
                $("#twoKZselect").show();
                $("#cancel2").show();
                return;
            }
            KZQS = QS2;
            ArrayNG.push(num);
            $("#twoKZselect").html("");
        } else if (num == 1) {
            if ($.inArray(num, ArrayNG) > -1) {
                $("#oneDJ").hide();
                $("#oneKZselect").show();
                $("#cancel1").show();
                return;
            }
            KZQS = QS1;
            ArrayNG.push(num);
            $("#oneKZselect").html("");
        }
        //alert(KZQS);
        $.ajax({
            url: "/Ajax/SevenContrast.ashx",
            type: "post",
            //dataType: "text",
            data: {
                KZselect: num + '+' + KZQS
            },
            success: function (data, textStatus) {
                var str6 = "";
                if (num == 7) {
                    aaa = 7;
                    $("#sevenDJ").hide();
                    $("#sevenKZselect").show();
                    $("#cancel7").show();
                }else if (num == 6) {
                    aaa = 6;
                    $("#sixDJ").hide();
                    $("#sixKZselect").show();
                    $("#cancel6").show();
                } else if (num == 5) {
                    aaa = 5;
                    $("#fiveDJ").hide();
                    $("#fiveKZselect").show();
                    $("#cancel5").show();
                } else if (num == 4) {
                    aaa = 4;
                    $("#fourDJ").hide();
                    $("#fourKZselect").show();
                    $("#cancel4").show();
                } else if (num == 3) {
                    aaa = 3;
                    $("#threeDJ").hide();
                    $("#threeKZselect").show();
                    $("#cancel3").show();
                } else if (num == 2) {
                    aaa = 2;
                    $("#twoDJ").hide();
                    $("#twoKZselect").show();
                    $("#cancel2").show();
                } else if (num == 1) {
                    aaa = 1;
                    $("#oneDJ").hide();
                    $("#oneKZselect").show();
                    $("#cancel1").show();
                }
                
                if (aaa == 7) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].sevenMoney + "元)</span></li>";
                            $("#sevenKZselect").append(str6);
                        } else if (i % 3 == 1) {

                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].sevenMoney + "元)</span></li>";
                            $("#sevenKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#sevenKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#sevenKZselect").append("<li></li>");

                        }

                    }
                } else if (aaa == 6) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].sixMoney + "元)</span></li>";
                            $("#sixKZselect").append(str6);
                        } else if (i % 3 == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].sixMoney + "元)</span></li>";
                            $("#sixKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#sixKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#sixKZselect").append("<li></li>");

                        }

                    }
                } else if (aaa == 5) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].fiveMoney + "元)</span></li>";
                            $("#fiveKZselect").append(str6);
                        } else if (i % 3 == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].fiveMoney + "元)</span></li>";
                            $("#fiveKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#fiveKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#fiveKZselect").append("<li></li>");

                        }

                    }
                } else if (aaa == 4) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].fourMoney + "元)</span></li>";
                            $("#fourKZselect").append(str6);
                        } else if (i % 3 == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].fourMoney + "元)</span></li>";
                            $("#fourKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#fourKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#fourKZselect").append("<li></li>");

                        }

                    }
                } else if (aaa == 3) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].threeMoney + "元)</span></li>";
                            $("#threeKZselect").append(str6);
                        } else if (i % 3 == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].threeMoney + "元)</span></li>";
                            $("#threeKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#threeKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#threeKZselect").append("<li></li>");

                        }

                    }
                } else if (aaa == 2) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].twoMoney + "元)</span></li>";
                            $("#twoKZselect").append(str6);
                        } else if (i % 3 == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].twoMoney + "元)</span></li>";
                            $("#twoKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#twoKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#twoKZselect").append("<li></li>");

                        }

                    }
                } else if (aaa == 1) {
                    for (var i = 0; i < eval(data).length; i++) {

                        var redBall = eval(data)[i].LotteryNo.split("+");
                        var red = redBall[0].replace(/\,/g, " ");

                        if (i == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].oneMoney + "元)</span></li>";
                            $("#oneKZselect").append(str6);
                        } else if (i % 3 == 1) {
                            str6 = " <li><span class=\"fl\">第" + eval(data)[i].LotteryQS + "期"
                                    + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                    + "<span class=\"fr\">(" + eval(data)[i].oneMoney + "元)</span></li>";
                            $("#oneKZselect").append(str6);
                        }
                        else {
                            str6 = " <li><span >第" + eval(data)[i].LotteryQS + "期"
                                        + "<span > " + eval(data)[i].LotteryNo + "</span>  "


                            $("#oneKZselect").append(str6);
                        }
                        if ((i + 1) % 3 == 0) {
                            $("#oneKZselect").append("<li></li>");

                        }

                    }
                }
            }
        })
    }


    function ShowMore(obj, num) {
        
        var showCount;
        var html = "";
        var count = 0;
        var sevencount = Math.ceil(($("#sevenCount").html()) / pagecount);
        var sixcount = Math.ceil(($("#sixCount").html()) / pagecount);
        var fivecount = Math.ceil(($("#fiveCount").html()) / pagecount);
        var fourcount = Math.ceil(($("#fourCount").html()) / pagecount);
        var threecount = Math.ceil(($("#threeCount").html()) / pagecount);
        var twocount = Math.ceil(($("#twoCount").html()) / pagecount);
        var onecount = Math.ceil(($("#oneCount").html()) / pagecount);
        if (num == 7) {

            show7 += 1;
            showCount = pagecount * show7 + 1;
            $("#sevenDJ").html("");
            if (sevencount == show7) {
                $("#showmore7").hide();
            }

            for (var i = 0; i < eval(allNO).length; i++) {
                //alert(eval(allNO)[i].LotteryNo)
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");

                ID = eval(allNO)[i].id;

                if (ID == 7) {

                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].sevenMoney + "元)</span></li>";

                        $("#sevenDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#sevenDJ").append("<span id=\"showmore7\" onclick=\"ShowMore(this,7)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }

                }

            }

        }
        else if (num == 6) {

            show6 += 1;
            showCount = pagecount * show6 + 1;
            $("#sixDJ").html("");
            if (sixcount == show6) {
                $("#showmore6").hide();
            }
            
            for (var i = 0; i < eval(allNO).length; i++) {
                //alert(eval(allNO)[i].LotteryNo)
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");

                ID = eval(allNO)[i].id;

                if (ID == 6) {
                   
                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].sixMoney + "元)</span></li>";

                        $("#sixDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#sixDJ").append("<span id=\"showmore6\" onclick=\"ShowMore(this,6)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }

                }

            }

        } else if (num == 5) {
            //alert(5);
            $("#fiveDJ").html("");
            show5 += 1;
            showCount = pagecount * show5 + 1;
            if (show5 == fivecount) {
                $("#showmore5").hide();
            }
            for (var i = 0; i < eval(allNO).length; i++) {
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");
                ID = eval(allNO)[i].id;
                if (ID == 5) {
                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].fiveMoney + "元)</span></li>";

                        $("#fiveDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#fiveDJ").append("<span id=\"showmore5\" onclick=\"ShowMore(this,5)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }
                }
            }
        } else if (num == 4) {

            $("#fourDJ").html("");
            show4 += 1;

            showCount = pagecount * show4 + 1;
            if (show4 == fourcount) {

                $("#showmore4").hide();
            }

            for (var i = 0; i < eval(allNO).length; i++) {
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");
                ID = eval(allNO)[i].id;
                if (ID == 4) {
                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].fourMoney + "元)</span></li>";

                        $("#fourDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#fourDJ").append("<span id=\"showmore4\" onclick=\"ShowMore(this,4)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }
                }
            }
        } else if (num == 3) {
            //alert(threecount)
            $("#threeDJ").html("");
            show3 += 1;
            //alert(show3)
            showCount = pagecount * show3 + 1;
            if (show3 == threecount) {
                //alert(111)
                $("#showmore3").hide();
            }

            for (var i = 0; i < eval(allNO).length; i++) {
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");
                ID = eval(allNO)[i].id;
                if (ID == 3) {
                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].threeMoney + "元)</span></li>";

                        $("#threeDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#threeDJ").append("<span id=\"showmore3\" onclick=\"ShowMore(this,3)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }
                }
            }
        } else if (num == 2) {
            //alert(threecount)
            $("#twoDJ").html("");
            show2 += 1;
            //alert(show3)
            showCount = pagecount * show2 + 1;
            if (show2 == twocount) {
                //alert(111)
                $("#showmore2").hide();
            }

            for (var i = 0; i < eval(allNO).length; i++) {
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");
                ID = eval(allNO)[i].id;
                if (ID == 2) {
                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].twoMoney + "元)</span></li>";

                        $("#twoDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#twoDJ").append("<span id=\"showmore2\" onclick=\"ShowMore(this,2)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }
                }
            }
        } else if (num == 1) {
            //alert(threecount)
            $("#oneDJ").html("");
            show1 += 1;
            //alert(show3)
            showCount = pagecount * show1 + 1;
            if (show1 == onecount) {

                $("#showmore1").hide();
            }

            for (var i = 0; i < eval(allNO).length; i++) {
                var redBall = eval(allNO)[i].LotteryNo.split("+");
                var red = redBall[0].replace(/\,/g, " ");
                ID = eval(allNO)[i].id;
                if (ID == 1) {
                    count += 1;
                    //alert(showCount + ":" + count);
                    if (count < showCount) {
                        html = " <li><span class=\"fl\">第" + eval(allNO)[i].LotteryQS + "期"
                                        + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                        + "<span class=\"fr\">(" + eval(allNO)[i].oneMoney + "元)</span></li>";

                        $("#oneDJ").append(html);
                    }
                    if (count == showCount - 1) {
                        $("#oneDJ").append("<span id=\"showmore1\" onclick=\"ShowMore(this,1)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px;"
                             + " height: 26px; background: #0195df;position:absolute;line-height:26px;text-align:center;position:relative;padding:0 0 0px 0; \">加载更多</span>");
                    }
                }
            }
        }

    }

    //开始对比
    function ToContrast(obj, num) {
        ArrayNG = new Array();
        var bb = "";
        $(".kjdb_r").hide();
        $(".kjdb_r1").show();
        if (num == 1) {
            bb = $(obj).parent().children().children(".db_text1").text();
            bb = bb.replace(/\s/g, "");
            bb = "[\"" + bb.replace(/,/g, "*") + "\"]";
            if (bb == "") {
                alert("请至少选择一注号码进行比对！");
            }
        } else {
            bb = getCookie("ArrayListSeven");
            if (bb == "") {
                alert("请至少选择一注号码进行比对！");
            }
            
        }
        var aa = $(".db_text3").html();
        //alert(bb);
        $.ajax({
            url: "/Ajax/SevenContrast.ashx",
            type: "POST",
            //dataType: "json",
            data: {
                QS: aa,
                changeBall: bb
            },
            success: function (Response) {

                QS7 = "";
                QS6 = "";
                QS5 = "";
                QS4 = "";
                QS3 = "";
                QS2 = "";
                QS1 = "";

                allNO = Response;
                $("#sevenDJ").html("");
                $("#sixDJ").html("");
                $("#fiveDJ").html("");
                $("#fourDJ").html("");
                $("#threeDJ").html("");
                $("#twoDJ").html("");
                $("#oneDJ").html("");
                var str1 = ""; var str11 = 0;
                var str2 = ""; var str22 = 0;
                var str3 = ""; var str33 = 0;
                var str4 = ""; var str44 = 0;
                var str5 = ""; var str55 = 0;
                var str6 = ""; var str66 = 0;
                var str7 = ""; var str77 = 0;
               // window.aaa = "";
                var ID = "";

                for (var i = 0; i < eval(Response).length; i++) {
                    var redBall = eval(Response)[i].LotteryNo.split("+");
                    var red = redBall[0].replace(/\,/g, " ");
                    ID = eval(Response)[i].id;
                    
                    if (ID == 1) {
                        QS1 += eval(Response)[i].LotteryQS + ",";
                        str11 = str11 + 1;
                        if (str11 <= pagecount) {
                            str1 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].oneMoney + "元)</span></li>";

                            $("#oneDJ").append(str1);
                        }
                        if (str11 == 1) {
                            $("#oneDJ").append("<li id=\"showmore1\" onclick=\"ShowMore(this,1)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                  + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }
                    $("#oneCount").html(str11);
                    $("#KZ1").show();
                    } else if (ID == 2) {
                        QS2 += eval(Response)[i].LotteryQS + ",";
                        str22 = str22 + 1;
                        if (str22 <= pagecount) {
                            str2 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].twoMoney + "元)</span></li>";

                            $("#twoDJ").append(str2);
                        }
                        if (str22 == 1) {
                            $("#twoDJ").append("<li id=\"showmore2\" onclick=\"ShowMore(this,2)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                  + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }
                        $("#twoCount").html(str22);
                        $("#KZ2").show();
                    } else if (ID == 3) {
                        QS3 += eval(Response)[i].LotteryQS + ",";
                        str33 = str33 + 1;
                        if (str33 <= pagecount) {
                            str3 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].threeMoney + "元)</span></li>";

                            $("#threeDJ").append(str3);
                        }
                        if (str33 == 1) {
                            $("#threeDJ").append("<li id=\"showmore3\" onclick=\"ShowMore(this,3)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                   + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }
                        $("#threeCount").html(str33);
                        $("#KZ3").show();
                    }
                    else if (ID == 4) {
                        QS4 += eval(Response)[i].LotteryQS + ",";
                        str44 = str44 + 1;
                        if (str44 <= pagecount) {
                            str4 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].fourMoney + "元)</span></li>";

                            $("#fourDJ").append(str4);
                        }
                        if (str44 == 1) {
                            $("#fourDJ").append("<li id=\"showmore4\" onclick=\"ShowMore(this,4)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                   + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }
                        $("#fourCount").html(str44);
                        $("#KZ4").show();
                    }

                    else if (ID == 5) {
                        QS5 += eval(Response)[i].LotteryQS + ",";
                        
                        str55 = str55 + 1;
                        if (str55 <= pagecount) {
                            str5 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].fiveMoney + "元)</span></li>";

                            $("#fiveDJ").append(str5);
                        }
                        if (str55 == 1) {
                            $("#fiveDJ").append("<li id=\"showmore5\" onclick=\"ShowMore(this,5)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                   + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }
                        $("#fiveCount").html(str55);
                        $("#KZ5").show();
                    }

                    else if (ID == 6) {
                        str66 = str66 + 1;
                        QS6 += eval(Response)[i].LotteryQS + ',';

                        if (str66 <= pagecount) {
                            str6 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].sixMoney + "元)</span></li>";
                            $("#sixDJ").append(str6);
                        }
                        if (str66 == 1) {
                            $("#sixDJ").append("<li id=\"showmore6\" onclick=\"ShowMore(this,6)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                   + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }

                        
                        $("#sixCount").html(str66);
                        $("#KZ6").show();

                    } else if (ID == 7) {
                        
                        str77 = str77 + 1;
                        QS7 += eval(Response)[i].LotteryQS + ',';

                        if (str77 <= pagecount) {
                            str7 = " <li><span class=\"fl\">第" + eval(Response)[i].LotteryQS + "期"
                                 + "<span class=\"db_text1\"> " + red + "</span> |<span class=\"db_text2\"> " + redBall[1] + "</span> </span> "
                                 + "<span class=\"fr\">(" + eval(Response)[i].sevenMoney + "元)</span></li>";
                            $("#sevenDJ").append(str7);
                        }
                        if (str77 == 1) {
                            $("#sevenDJ").append("<li id=\"showmore7\" onclick=\"ShowMore(this,7)\" style=\"width:80px;margin:0 auto;display:block;color: #fff;font-size: 14px; height: 26px;"
                                   + " background: #0195df;line-height:26px;text-align:center;top:1040px;left:69%;margin-left:40px; position:absolute;\">加载更多</li>");
                        }


                        $("#sevenCount").html(str77);
                        $("#KZ7").show();

                    }

                }
                //alert(str77);
                if (str77 <= pagecount) {
                    $("#showmore7").hide();
                }
                if (str66 <= pagecount) {
                    $("#showmore6").hide();
                }
                if (str55 <= pagecount) {
                    $("#showmore5").hide();
                }
                if (str44 <= pagecount) {
                    $("#showmore4").hide();
                }
                if (str33 <= pagecount) {
                    $("#showmore3").hide();
                }
                if (str22 <= pagecount) {
                    $("#showmore2").hide();
                }
                if (str11 <= pagecount) {
                    $("#showmore1").hide();
                }

                if (str11 == 0) {
                    $("#oneCount").html("0");
                    $("#KZ1").hide();
                    $("#oneDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ1").show();
                }
                if (str22 == 0) {
                    $("#twoCount").html("0");
                    $("#KZ2").hide();
                    $("#twoDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ2").show();
                }
                if (str33 == 0) {
                    $("#threeCount").html("0");
                    $("#KZ3").hide();
                    $("#threeDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ3").show();
                }
                if (str44 == 0) {
                    $("#fourCount").html("0");
                    $("#KZ4").hide();
                    $("#fourDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ4").show();
                }
                if (str55 == 0) {
                    $("#fiveCount").html("0");
                    $("#KZ5").hide();
                    $("#fiveDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ5").show();
                }
                if (str66 == 0) {
                    $("#sixCount").html("0");
                    $("#KZ6").hide();
                    $("#sixDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ6").show();
                } if (str77 == 0) {
                    $("#sevenCount").html("0");
                    $("#KZ7").hide();
                    $("#sevenDJ").html("暂无中奖记录").css({ "text-align": "center" });
                } else {
                    $("#KZ7").show();
                }
            },
            error:function(){


            }
            
            
        });
    }


    </script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <div class="nr" style="padding: 30px 0">
        <div style="padding: 0 0 10px 0;">
            <span class="fl">
                <img src="images/qilecai.png"></span> <span class="fl kjdb_text1">七乐彩工具大全</span> <span class="fr kjdb_text2">其他历史开奖对比器： <a href="doubleBballTuoDan.aspx">双色球</a> | <a href="BigLotteryTuoDan.aspx">大乐透</a></span>
            <div class="cl"></div>
        </div>
        <div>

            <div>
                <div class="top_bg">
                    <a href="#" class="top_list1">开奖对比</a> <a href="jjjs_ssq_zigou.aspx" class="top_list">奖金计算</a><a href="zhanyemeitiyuce_ssq.aspx" class="top_list">专业媒体预测</a>
                    <div class="cl"></div>
                </div>
                <div class="fxui-tab-nav">
                    <div>
                        <div class="wh">
                            <div class="kjdb_title1">
                                <div class="wh1 fl" style="padding: 0;">
                                    <a href="SevenColorful.aspx" class="wh3" style="color: #fff;">普通对比</a><a href="SevenBatch.aspx" class="wh2">多注批量对比</a>
                                    <div class="cl"></div>
                                </div>
                                <div class="cl"></div>
                            </div>
                            <div class="fxui-tab-nav1">
                                <div class="kjdb_nr">
                                    <div class="kjdb_l">
                                        <div class="kjdb_input">
                                            <input type="radio" name="radio1" id="radioD" value="radio1" onclick="tiaoye(0)" />
                                            <label for="radio">标准选号</label>
                                            <input type="radio" name="radio1" id="radioF" value="radio1" checked="checked" onclick="tiaoye(1)" />
                                            <label for="radio">拖胆选号</label>
                                            <div class="cl"></div>
                                        </div>
                                        <div class="kjdb_line">
                                            <div class="betting_choose_ball_box">
                                                <div class="betting_choose_redball" style="float: none; margin: 0 auto; width: 730px;">
                                                    <h2><b>选号区</b> 选1～6个胆码、选至少1个拖码（胆码+拖码≥7个）</h2>
                                                    <div>
                                                        <div class="betting_prompt_left">
                                                            <h4 class="choose">选号</h4>
                                                            <h3>
                                                                <p>遗漏</p>
                                                                <div><b>遗漏：</b>指该号码自上次开出以来至本次未出现的期数</div>
                                                            </h3>
                                                        </div>
                                                        <input type="hidden" id="ZXRedBll" name="ZXRedBll" />
                                                        <input type="hidden" id="ZXBlueBll" name="ZXBlueBll" />
                                                        <input type="hidden" id="lotteryStr" name="lotteryStr" />
                                                        <input type="hidden" id="DTRed" name="DTRed" />
                                                        <ul class="betting_choose_ball" style="width: 650px;">

                                                            <li><em id="RedBall1" class="ball_btn" onclick="javascript:addRedBall(this,1,0,0);">01</em> <span id="MissNper1" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo1" onclick="addRedBall(this,1,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall2" class="ball_btn" onclick="javascript:addRedBall(this,2,0,0);">02</em> <span id="MissNper2" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo2" onclick="addRedBall(this,2,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall3" class="ball_btn" onclick="javascript:addRedBall(this,3,0,0);">03</em> <span id="MissNper3" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo3" onclick="addRedBall(this,3,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall4" class="ball_btn" onclick="javascript:addRedBall(this,4,0,0);">04</em> <span id="MissNper4" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo4" onclick="addRedBall(this,4,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall5" class="ball_btn" onclick="javascript:addRedBall(this,5,0,0);">05</em> <span id="MissNper5" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo5" onclick="addRedBall(this,5,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall6" class="ball_btn" onclick="javascript:addRedBall(this,6,0,0);">06</em> <span id="MissNper6" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo6" onclick="addRedBall(this,6,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall7" class="ball_btn" onclick="javascript:addRedBall(this,7,0,0);">07</em> <span id="MissNper7" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo7" onclick="addRedBall(this,7,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall8" class="ball_btn" onclick="javascript:addRedBall(this,8,0,0);">08</em> <span id="MissNper8" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo8" onclick="addRedBall(this,8,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall9" class="ball_btn" onclick="javascript:addRedBall(this,9,0,0);">09</em> <span id="MissNper9" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo9" onclick="addRedBall(this,9,0,1)" />
                                                            </li>
                                                            <li><em id="RedBall10" class="ball_btn" onclick="javascript:addRedBall(this,10,0,0);">10</em> <span id="MissNper10" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo10" onclick="addRedBall(this,10,0,1)" /></li>
                                                            <li><em id="RedBall11" class="ball_btn" onclick="javascript:addRedBall(this,11,0,0);">11</em> <span id="MissNper11" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo11" onclick="addRedBall(this,11,0,1)" /></li>
                                                            <li><em id="RedBall12" class="ball_btn" onclick="javascript:addRedBall(this,12,0,0);">12</em> <span id="MissNper12" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo12" onclick="addRedBall(this,12,0,1)" /></li>
                                                            <li><em id="RedBall13" class="ball_btn" onclick="javascript:addRedBall(this,13,0,0);">13</em> <span id="MissNper13" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo13" onclick="addRedBall(this,13,0,1)" /></li>
                                                            <li><em id="RedBall14" class="ball_btn" onclick="javascript:addRedBall(this,14,0,0);">14</em> <span id="MissNper14" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo14" onclick="addRedBall(this,14,0,1)" /></li>
                                                            <li><em id="RedBall15" class="ball_btn" onclick="javascript:addRedBall(this,15,0,0);">15</em> <span id="MissNper15" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo15" onclick="addRedBall(this,15,0,1)" /></li>
                                                            <li><em id="RedBall16" class="ball_btn" onclick="javascript:addRedBall(this,16,0,0);">16</em> <span id="MissNper16" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo16" onclick="addRedBall(this,16,0,1)" /></li>
                                                            <li><em id="RedBall17" class="ball_btn" onclick="javascript:addRedBall(this,17,0,0);">17</em> <span id="MissNper17" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo17" onclick="addRedBall(this,17,0,1)" /></li>
                                                            <li><em id="RedBall18" class="ball_btn" onclick="javascript:addRedBall(this,18,0,0);">18</em> <span id="MissNper18" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo18" onclick="addRedBall(this,18,0,1)" /></li>
                                                            <li><em id="RedBall19" class="ball_btn" onclick="javascript:addRedBall(this,19,0,0);">19</em> <span id="MissNper19" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo19" onclick="addRedBall(this,19,0,1)" /></li>
                                                            <li><em id="RedBall20" class="ball_btn" onclick="javascript:addRedBall(this,20,0,0);">20</em> <span id="MissNper20" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo20" onclick="addRedBall(this,20,0,1)" /></li>
                                                            <li><em id="RedBall21" class="ball_btn" onclick="javascript:addRedBall(this,21,0,0);">21</em> <span id="MissNper21" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo21" onclick="addRedBall(this,21,0,1)" /></li>
                                                            <li><em id="RedBall22" class="ball_btn" onclick="javascript:addRedBall(this,22,0,0);">22</em> <span id="MissNper22" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo22" onclick="addRedBall(this,22,0,1)" /></li>
                                                            <li><em id="RedBall23" class="ball_btn" onclick="javascript:addRedBall(this,23,0,0);">23</em> <span id="MissNper23" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo23" onclick="addRedBall(this,23,0,1)" /></li>
                                                            <li><em id="RedBall24" class="ball_btn" onclick="javascript:addRedBall(this,24,0,0);">24</em> <span id="MissNper24" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo24" onclick="addRedBall(this,24,0,1)" /></li>
                                                            <li><em id="RedBall25" class="ball_btn" onclick="javascript:addRedBall(this,25,0,0);">25</em> <span id="MissNper25" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo25" onclick="addRedBall(this,25,0,1)" /></li>
                                                            <li><em id="RedBall26" class="ball_btn" onclick="javascript:addRedBall(this,26,0,0);">26</em> <span id="MissNper26" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo26" onclick="addRedBall(this,26,0,1)" /></li>
                                                            <li><em id="RedBall27" class="ball_btn" onclick="javascript:addRedBall(this,27,0,0);">27</em> <span id="MissNper27" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo27" onclick="addRedBall(this,27,0,1)" /></li>
                                                            <li><em id="RedBall28" class="ball_btn" onclick="javascript:addRedBall(this,28,0,0);">28</em> <span id="MissNper28" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo28" onclick="addRedBall(this,28,0,1)" /></li>
                                                            <li><em id="RedBall29" class="ball_btn" onclick="javascript:addRedBall(this,29,0,0);">29</em> <span id="MissNper29" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo29" onclick="addRedBall(this,29,0,1)" /></li>
                                                            <li><em id="RedBall30" class="ball_btn" onclick="javascript:addRedBall(this,30,0,0);">30</em> <span id="MissNper30" runat="server"></span>
                                                                <input type="checkbox" id="DanTuo30" onclick="addRedBall(this,30,0,1)" /></li>
                                                            <%-- <li> <em id="RedBall31" class="ball_btn" onclick="javascript:addRedBall(this,31,0,0);">31</em> <span id="MissNper31" runat="server"></span> </li>
                            <li> <em id="RedBall32" class="ball_btn" onclick="javascript:addRedBall(this,32,0,0);">32</em> <span id="MissNper32" runat="server"></span> </li>
                            <li> <em id="RedBall33" class="ball_btn" onclick="javascript:addRedBall(this,33,0,0);">33</em> <span id="MissNper33" runat="server"></span> </li>--%>
                                                            <%--  <div class="cl"></div>--%>
                                                        </ul>
                                                        <div class="cl"></div>
                                                    </div>
                                                    <div style="padding: 0 0 20px 110px;">
                                                        <select name="select" id="selectRed" class="kjdb_input2">
                                                            <option>7</option>
                                                            <option>8</option>
                                                            <option>9</option>
                                                            <option>10</option>
                                                            <option>11</option>
                                                            <option>12</option>
                                                            <option>13</option>
                                                            <option>14</option>
                                                            <option>15</option>
                                                            <option>16</option>
                                                            <option>17</option>
                                                            <option>18</option>
                                                            <option>19</option>
                                                            <option>20</option>
                                                        </select>
                                                        <div class="kjdb_input3"><a href="#" onclick="RandomRed(this,7,0)">机选红球</a></div>
                                                        <a href="#" style="color: #2255aa;" onclick="ClaerRedorBlue(0)">清空</a>
                                                        <div class="cl"></div>
                                                    </div>
                                                </div>
                                                <div style="clear: both"></div>
                                            </div>
                                        </div>
                                        <div class="kjdb_text3 tc">您选择了 <span class="kjdb_text4" id="AllLength">0 </span>个号码（胆码<span class="kjdb_text4" id="DMLength"> 0 </span>个,托码<span class="kjdb_text4" id="TMLength"> 0 </span>个），共 <span class="kjdb_text4" id="BettingCount">0</span> 注，共 <span class="kjdb_text4" id="PriceCount">0</span> 元</div>
                                        <input type="button" class="kjdb_btn" onclick="ConfirmPick()" value="确认选号" />
                                        <%--<textarea name="textarea" id="textarea" class="kjdb_textarea" rows="10" cols="10"></textarea>--%>
                                        <div class="db_k">
                                            <%-- <ul>--%>
                                            <%--   <li> <span class="fl"><b>投注</b><span class="db_text1"> 05 06 07 16 17 18</span> + <span class="db_text2">05</span> [1注,2元]</span> <a href="#">删除</a><a href="#">修改</a><a href="#">对比</a></li>
                            <li> <span class="fl"><b>投注</b><span class="db_text1"> 05 06 07 16 17 18</span> + <span class="db_text2">05</span> [1注,2元]</span> <a href="#">删除</a><a href="#">修改</a><a href="#">对比</a></li>
                                            --%>
                                            <%--</ul>--%>
                                        </div>
                                        <div class="tr kjdb_text6"><a href="#" onclick="ClearCookie()">清空列表</a></div>
                                        <div class="kjdb_input1">
                                            <span class="fl">对比最近： </span>

                                            <input type="radio" name="radio" id="radio1" value="radio" onclick="ChangeQS(1)" />
                                            <label for="radio">所有期数 </label>
                                            <input type="radio" name="radio" id="radio2" value="radio" checked="checked" onclick="ChangeQS(300)" />
                                            <label for="radio">300期</label>
                                            <input type="radio" name="radio" id="radio3" value="radio" onclick="ChangeQS(100)" />
                                            <label for="radio">100期</label>
                                            <input type="radio" name="radio" id="radio4" value="radio" onclick="ChangeQS(50)" />
                                            <label for="radio">50期</label>
                                            <input type="radio" name="radio" id="radio5" value="radio" onclick="ChangeQS(30)" />
                                            <label for="radio">30期</label>
                                            <div class="cl"></div>
                                        </div>
                                        <input type="button" class="kjdb_btn1" value="开始对比" onclick="ToContrast()">
                                        <%-- <asp:Button ID="btnContrast" runat="server" class="kjdb_btn1" Text="开始对比" OnClick="ToContrast()" />--%>
                                    </div>
                                    <div class="kjdb_r">
                                        请先在左侧选择号码进行对比后，在此查看结果！<br />
                                        <br />
                                        如果您验证的号码在历史上经常命中大奖或历史上中奖概率极低，建议您使用 “追号功能”。
                                    </div>
                                    <div class="kjdb_r1" style="display: none;">
                                        <div class="db_text3 tc">300期对比结果</div>

                                        <ul class="db_r_list">
                                            <li>一等奖：<span id="oneCount" class="db_text4">0</span> 次 </li>
                                            <li>二等奖：<span id="twoCount" class="db_text4">0</span>次</li>
                                            <li>三等奖：<span id="threeCount" class="db_text4">0</span> 次 </li>
                                            <li>四等奖：<span id="fourCount" class="db_text4">0</span> 次</li>
                                            <li>五等奖：<span id="fiveCount" class="db_text4">0</span> 次 </li>
                                            <li>六等奖：<span id="sixCount" class="db_text4">0</span> 次</li>
                                            <li>七等奖：<span id="sevenCount" class="db_text4">0</span> 次</li>
                                            <div class="cl"></div>
                                        </ul>
                                        <div class="fxui-tab">
                                            <div class="fxui-tab-hand">
                                                <span class="fxui-tab-tit">一等</span> <span class="fxui-tab-tit">二等</span> <span class="fxui-tab-tit">三等</span> <span class="fxui-tab-tit">四等</span><span class="fxui-tab-tit">五等</span><span class="fxui-tab-tit">六等</span><span class="fxui-tab-tit" style="border-left: solid 1px #e1e1e1; border-bottom: solid 1px #e1e1e1; border-right: solid 1px #e1e1e1;">七等</span>
                                                <div class="cl"></div>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中一等奖（ <span class="db_text1">7</span> 红 <span class="db_text2">0</span> 蓝）</span>
                                                    <div>
                                                        <span id="KZ1">
                                                            <input type="button" class="db_text6 fr" onclick="ExtensionQuery(this,1)" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel1" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(1)" value="取消" />
                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul class="db_qs" id="oneDJ" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="oneKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中二等奖（ <span class="db_text1">6</span> 红 <span class="db_text2">1</span> 蓝）</span>
                                                    <div>
                                                        <span id="KZ2">
                                                            <input type="button" class="db_text6 fr" onclick="ExtensionQuery(this,2)" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel2" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(2)" value="取消" />
                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul class="db_qs" id="twoDJ" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="twoKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中三等奖（ <span class="db_text1">6</span> 红 <span class="db_text2">0</span> 蓝）</span>
                                                    <div>
                                                        <span id="KZ3">
                                                            <input type="button" class="db_text6 fr" onclick="ExtensionQuery(this,3)" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel3" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(3)" value="取消" />
                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul class="db_qs" id="threeDJ" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="threeKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中四等奖（ <span class="db_text1">5</span> 红 <span class="db_text2">1</span> 蓝）</span>

                                                    <div>
                                                        <span id="KZ4">
                                                            <input type="button" class="db_text6 fr" onclick="ExtensionQuery(this,4)" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel4" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(4)" value="取消" />

                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul class="db_qs" id="fourDJ" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="fourKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中五等奖（ <span class="db_text1">5</span> 红 <span class="db_text2">0</span> 蓝）</span>
                                                    <div>
                                                        <span id="KZ5">
                                                            <input type="button" onclick="ExtensionQuery(this,5)" class="db_text6 fr" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel5" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(5)" value="取消" />

                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul class="db_qs" id="fiveDJ" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="fiveKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中六等奖（ <span class="db_text1">4</span> 红 <span class="db_text2">1</span> 蓝）</span>
                                                    <div>
                                                        <span id="KZ6">
                                                            <input type="button" onclick="ExtensionQuery(this,6)" class="db_text6 fr" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel6" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(6)" value="取消" />
                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul id="sixDJ" class="db_qs" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="sixKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                            <div class="fxui-tab-nav">
                                                <div class="db_text5">
                                                    <span class="">命中七等奖（ <span class="db_text1">4</span> 红 <span class="db_text2">0</span> 蓝）</span>
                                                    <div>
                                                        <span id="KZ7">
                                                            <input type="button" onclick="ExtensionQuery(this,7)" class="db_text6 fr" style="border: none;" value="扩展查询" /></span>
                                                        <input type="button" id="cancel7" class="db_text6 fr" style="display: none; margin: 0 20px 0 0; border: none;" onclick="Cancel(7)" value="取消" />
                                                    </div>
                                                    <div class="cl"></div>
                                                </div>
                                                <ul id="sevenDJ" class="db_qs" style="border: solid 1px #e5e5e5; height: 620px; overflow-y: scroll;">
                                                </ul>
                                                <ul id="sevenKZselect" class="db_qs" style="border: solid 1px #e5e5e5; height: 650px; overflow-y: scroll; display: none;">
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="cl"></div>
                        </div>
                    </div>
                    <%-- <div class="fxui-tab-nav1"> 123 </div>--%>
                </div>
            </div>
        </div>

        <%-- <div class="fxui-tab-nav">内容三</div>--%>
    </div>
    </div>
</div>
    <script type="text/javascript">
$('.fxui-tab').fxuiTab();
    </script>
    <script type="text/javascript">
$('.fxui-tab1').fxuiTab1();
    </script>
    <!--BettingContent-->
</asp:Content>
